package com.richest.api.controller.cn.merchant.order;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.richest.util.CallResults;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * 商户订单接口
 * 
 * @author zhaohongchao 2019年3月29日 下午2:10:52
 * @email 70375739@qq.com
 */
@RestController
@RequestMapping("orderManageController")
@Api(value = "商户订单接口")
@EnableAutoConfiguration
public class ApiOrderManageController {
	/**
	 * 商户端订单列表
	 * 
	 * @author zhaohongchao 2019年4月3日 上午8:49:30
	 * @email 70375739@qq.com
	 * @param status
	 * @param userId
	 * @return
	 */
	@RequestMapping(value = "getEatOrderList", produces = "application/json;charset=UTF-8")
	@ApiOperation(notes = "商户端订单列表", value = "商户端订单列表", httpMethod = "GET")
	@ApiImplicitParams({
			@ApiImplicitParam(name = "admart_id", value = "商户id", required = true, paramType = "query", dataType = "Integer"),
			@ApiImplicitParam(name = "userId", value = "用户ID", required = true, paramType = "query", dataType = "String") })
	public CallResults getEatOrderList(@RequestParam Integer status, @RequestParam String userId) {
		return CallResults.ok();
	}
}
